package com.moss.cloud.auth.biz;


import com.moss.cloud.common.security.annotation.EnableCache;
import com.moss.cloud.common.security.annotation.EnableRocketMQ;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 授权服务启动器
 * @author 瑾年
 * @data 2023年3月6日
 */
@EnableCache
@EnableRocketMQ
@EnableDiscoveryClient
@SpringBootApplication
@EnableFeignClients(basePackages = {
		"com.moss.cloud.remote.api.rpc"
})
@MapperScan(basePackages = {"com.moss.cloud.auth.biz.mapper"})
public class AuthApplication {
	public static void main(String[] args) {
		SpringApplication.run(AuthApplication.class, args);
	}

}
